﻿@model BusinessManagementStudio.Models.BusinessObject.Entities.UserType

@{
    ViewBag.Title = "User Registration";
}

<title>Register</title>

<h2 align="center">User Registration</h2>

@using (Html.BeginForm("MultipleCommand", "User"))
{
    @Html.ValidationSummary(true)

    <table align="center">
        <tr>
            <td width="100">Username :</td>
            <td>@Html.TextBox("UserName")</td>
        </tr>
        <tr>
            <td>User Type :</td>
            <td>@Html.DropDownList("UserType", Model.UserTypeNameList)</td>
        </tr>
        <tr>
            <td>Password :</td>
            <td>@Html.Password("Password")</td>
        </tr>
        <tr>
            <td>Confirmed Password :</td>
            <td>@Html.Password("ConfirmedPassword")</td>
        </tr>
    </table>
    
    <br />
    
    <div align="center">
        <button type="submit" name="Command" value="Create">Create</button>
        <button type="submit" name="Command" value="Cancel">Cancel</button> 
    </div>
    
    <br />
    <div align="center">© 2013 BD Studio</div>
}
 
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
